﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UTable.Core.Objects.Controls.Tabletop;

namespace UTable.Core.Objects
{
    /// <summary>
    /// The tree that consists of all UObject entities
    /// The implementation of the interfaces is just redirecting the request to the corresponding UObject entity
    /// </summary>
    public class UObjectTree
    {
        #region Private Members

        private UTabletop root;

        #endregion

        #region Properties

        public UTabletop Root
        {
            get { return root; }
            set { root = value; }
        }

        #endregion

        #region Static Members

        private static UObjectTree instance = new UObjectTree();

        #endregion

        #region Static Properties

        public static UObjectTree Instance
        {
            get
            {
                return instance;
            }
        }

        #endregion
    }
}
